# -*- coding: UTF-8 -*-
# filename: yangsy.py


import  json
myjson = {"name": "汤姆", "city": "火城", "age": 6, "spc": None}
filepath = r'D:\111\js.text'
with open(filepath,'w') as f:
    json.dump(myjson,f,ensure_ascii=False)

with open(filepath,'r') as load_f:
    load_dict = json.load(load_f)
load_dict['喷火'] = load_dict.pop('spc')
print(load_dict)